package com.flycent.hqhs.bean;


/**
 * @author fbl
 *   消息
 */
public class MyMessage {
	
	public enum Type {
		/** 没有读 */
		no,
		/** 已读 */
		is,
		/** 删除 */
		del
	}
	
	private long id;
	
	private long createDate;
	
	private long modifyDate;
	

	/** 消息标题 */
	private String title; 
	/** 是否查看 */
	private Type isRead;
	/** 消息正文 */
	private String content;
	
	private int quantity;
	
	@Override
	public String toString() {
		return "MyMessage [id=" + id + ", createDate=" + createDate
				+ ", modifyDate=" + modifyDate + ", title=" + title
				+ ", isRead=" + isRead + ", content=" + content + "]";
	}

	public MyMessage() {
		super();
	}
	
	public MyMessage(long id, long createDate, long modifyDate, String title,
			Type isRead, String content) {
		super();
		this.id = id;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.title = title;
		this.isRead = isRead;
		this.content = content;
	}
	

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getCreateDate() {
		return createDate;
	}

	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}

	public long getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(long modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Type getIsRead() {
		return isRead;
	}
	public void setIsRead(Type isRead) {
		this.isRead = isRead;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	
	

}
